home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
Add-Ons
/
MPW
/
MPW dmake 4.0
/
unix
/
bsd43
/
string.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-06-01
|
292 b
|
17 lines
|
[
TEXT/KAHL
]
/*
** BSD does this wrong
*/
#include <strings.h>
#include "stdmacs.h"
extern char* strpbrk ANSI((char* src, char* any));
#ifndef DBUG
#define strchr(str,c) index(str,c)
#define strrchr(str,c) rindex(str,c)
#else
char *strchr ANSI((char*, char));
char *strrchr ANSI((char*, char));
#endif